import request from '@/utils/request'

// 查询artTag列表
export function listArt_tag(query) {
  return request({
    url: '/system/art_tag/list',
    method: 'get',
    params: query
  })
}

// 查询artTag详细
export function getArt_tag(id) {
  return request({
    url: '/system/art_tag/' + id,
    method: 'get'
  })
}

// 新增artTag
export function addArt_tag(data) {
  return request({
    url: '/system/art_tag',
    method: 'post',
    data: data
  })
}

// 修改artTag
export function updateArt_tag(data) {
  return request({
    url: '/system/art_tag',
    method: 'put',
    data: data
  })
}

// 删除artTag
export function delArt_tag(id) {
  return request({
    url: '/system/art_tag/' + id,
    method: 'delete'
  })
}
